import { useEffect, useRef, useState } from 'react'


function App() {
  const inputref = useRef<HTMLInputElement>(null)
  const timeId = useRef<number | undefined>(undefined)
  useEffect(() => {
    // inputref.current?.focus()
    // timeId.current = setInterval(() => {
    //   console.log('1');
      
    // },1000)
    // return () => {clearInterval(timeId.current)}
  },[])
  return (
    <>
      <input ref={inputref}></input>
    </>
  )
}

export default App
